package cn.kgc.mushroomdatabaseprovider.mapper;

import cn.kgc.mushroomcommon.pojo.Coll;
import cn.kgc.mushroomcommon.pojo.CollExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CollMapper {
    int countByExample(CollExample example);

    int deleteByExample(CollExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Coll record);

    int insertSelective(Coll record);

    List<Coll> selectByExample(CollExample example);

    Coll selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Coll record, @Param("example") CollExample example);

    int updateByExample(@Param("record") Coll record, @Param("example") CollExample example);

    int updateByPrimaryKeySelective(Coll record);

    int updateByPrimaryKey(Coll record);

    List<Coll> selectCollShop(Integer userid);
}